package com.one.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.one.dto.Result;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_course")
@ApiModel(value="SysCourseEntity", description="课程表")
public class SysCourseEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private String courseid;

    @ApiModelProperty(value = "课程编号")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "课程名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "课程简介")
    @TableField("synopsis")
    private String synopsis;

    @ApiModelProperty(value = "课程图片")
    @TableField("cour_pic")
    private String courpic;

    @ApiModelProperty(value = "教学大纲")
    @TableField("intr_outline")
    private String introutline;

    @ApiModelProperty(value = "教材名称")
    @TableField("tea_material")
    private String teamaterial;

    @ApiModelProperty(value = "开设时间")
    @TableField("stu_time")
    private String stutime;

    @ApiModelProperty(value = "系部id")
    @TableField("major_id")
    private String majorid;

    @ApiModelProperty(value = "删除标志（0:否 1:是）")
    @TableField("isDeleted")
    private String isDeleted;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private String updateTime;


}
